package com.hup.minicontroller.client.mvp;

import com.hup.minicontroller.client.model.LanBroadcastServer;
import com.hup.utils.io.netty.model.LoginResponsePacket;

import java.util.Collection;

/**
 * @author hugan
 * @date 2021/5/23
 */
public interface MainMvp {

    interface MainPresenter {
        void startUp() throws Exception;

    }

    interface IMainView {
        void onConnectResult(LoginResponsePacket loginResponse);

        void onConnectionLost();

        void onChannelIdle();

        void onScannedBroadcastServer(Collection<LanBroadcastServer> broadcastServers);

    }

}
